<!DOCTYPE html>
<p>Tests the deprecation warning of Window captureEvents</p>
<script>

if (window.testRunner)
    testRunner.dumpAsText();

window.captureEvents();
captureEvents();

</script>
